import request from '@/utils/request'
// (system->sys)
// 获取套餐类型
export function listCompanyTempType(query) {
  return request({
    url: '/sys/sysCompanyTempTypeApi/list',
    method: 'post',
    params: query
  })
}

// 更新操作
export function updateCompanyTempType(data) {
  return request({
    url: '/sys/sysCompanyTempTypeApi/update',
    method: 'post',
    params: data
  })
}

// 新增操作
export function addCompanyTempType(data) {
  return request({
    url: '/sys/sysCompanyTempTypeApi/add',
    method: 'post',
    params: data
  })
}

// 删除操作
export function delCompanyTempType(ids) {
  const data = {
    'ids': ids
  }
  return request({
    url: '/sys/sysCompanyTempTypeApi/remove',
    method: 'post',
    params: data
  })
}
// 获取套餐类型
export function selectMaxSequenceCode(query) {
  return request({
    url: '/sys/sysCompanyTempTypeApi/selectMaxSequenceCode',
    method: 'post'
  })
}
